package com.efrei.uchat.client.gui.control;

import javax.swing.JPanel;

public abstract class TabControl {

	private UChatControl context;
	
	public TabControl(UChatControl context) {
		this.context = context;
	}
	
	public abstract void update();
	
	public UChatControl getContext() {
		return context;
	}
	
	public void setContext(UChatControl context) {
		this.context = context;
	}
	
	public abstract JPanel getTab();
	
	public abstract void setTab(JPanel tab);
}
